<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>{:C('WEB_SITE_TITLE')}</title>
	<link href="__STATIC__/bootstrap/css/bootstrap.css" rel="stylesheet">
	<link href="__STATIC__/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
	<link href="__STATIC__/bootstrap/css/docs.css" rel="stylesheet">
	<link href="__STATIC__/bootstrap/css/onethink.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css//base.css" media="all">
    <link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css//common.css" media="all">
    <link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css//module.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css//style.css" media="all">
    <link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css//my.css" media="all">
	<link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css//{$Think.config.COLOR_STYLE}.css" media="all">
	<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	<script src="__STATIC__/bootstrap/js/html5shiv.js"></script>
	<![endif]-->
	<block name="style"></block>
	<link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css/main.css">
	<!--[if lt IE 9]>
	<script type="text/javascript" src="__STATIC__/jquery-1.10.2.min.js"></script>
	<![endif]-->
	<!--[if gte IE 9]><!-->
	<!-- <script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script>
	<script type="text/javascript" src="__STATIC__/bootstrap/js/bootstrap.min.js"></script> -->
	<script src="__STATIC__/bootstrap/js/jquery-1.11.3.js"></script>
	<script src="__STATIC__/bootstrap/js/index.js" type="text/javascript"></script>
	<script src="__STATIC__/bootstrap/js/frame.js" type="text/javascript"></script>
	
	<script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script>
    <script type="text/javascript" src="__JS__/jquery.mousewheel.js"></script>
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
	<style>
		#adver_tabl img{width: 50px;height:50px;}
		#adver_tabl tr{margin-top:10px; display: block;}
			
	</style>

	</head>
<body>
	
	<!-- <include file="Public/header"/> -->
	<!--未定义-->
	
	<div class="clear"></div>
	<div class="nav" id="main">

		<!-- left -->
        <include file="Public/left"/>
        <!-- left end -->
        <div id="main_show">
       <p id="web_gg">公告：欢迎您进入优快推推广平台。企业要推广，就用优快推<span>优快推1.0</span></p> 

       <table class="table" width=600>
	    <thead>
	        <tr>
				<th>ID</th>
				<th>图片</th>
				<!-- <th>修改图片</th> -->
				<!-- <th>状态</th> -->
				<th>创建时间</th>
				<th>标题</th>
				<th>排序</th>
				<th>操作</th>
			</tr>
	    </thead>
		    <tbody>
				<tr>
				<form action="{:U('Team/editAc')}" method="post" >
		            <volist name="arr" id="v">
						<tr class="show_td">
							<td>{$v.id}</td>
							<td><img src="__ROOT__{$v.path}" alt="" width=80 height=80 ></td>
								<input type="hidden" name='id' value="{$v.id}">
							
							<!-- <td>
								<if condition="($v['status'] eq 1) ">
									<a href="{:U('Team/dis',array('id'=>$v['id']))}" >显示</a>
								<else /> 
									<a href="{:U('Team/nodis',array('id'=>$v['id']))}" >不显示</a>
								</if>
							</td> -->

							<td><?php echo date('Y-m-d',$v['create_time'])?></td>
							<td><input type="text" name="title" value="{$v.title}" style="background-color:#f2f2f2;" class="search-query"></td>
							<td> <input type="text" name="tid" value="{$v.tid}" style="background-color:#f2f2f2;" width=236 class="search-query"></td>
							<td>
								<!-- <input type="submit" value="确认编辑" class="btn-success search-query"> -->
								<button type="submit" class="but" >
									确 定
								</button>
							</td>
						</tr>
					</volist>

					
				</form>	
				</tr>			
			</tbody>
	    </table>
       </div>
	<!-- <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script> -->
	
	<div class="tab-wrap">
		
	
		<div>
			

		
		</div>
	



        </div>
	
<block name="script">
	<script type="text/javascript">
		function del(obj){
	    	
	    	var k_id = $(obj).attr("k_id");
	    	// console.log(k_id);
	    	var url = $(obj).attr('date_url');
	    	// alert($(obj).attr("date_url")); 
	    	console.log($(obj).parent().parent().parent());

	    	// return;

	    	$.ajax({
	    		type:'get',
	    		url:url,
	    		data:'k_id='+k_id,
	    		dataType:'json',
	    		success:function(date){
	    			alert(date.msg);
	    			document.location.reload();
	    		}

	    	})

	    	return false;
	    }



		<present name="info.id">
		Think.setValue("allow_publish", {$info.allow_publish|default=1});
		Think.setValue("check", {$info.check|default=0});
		Think.setValue("model[]", {$info.model|json_encode} || [1]);
		Think.setValue("type[]", {$info.type|json_encode} || [2]);
		Think.setValue("display", {$info.display|default=1});
		Think.setValue("reply", {$info.reply|default=0});
		Think.setValue("reply_model[]", {$info.reply_model|json_encode} || [1]);
		</present>

		$(function(){
			showTab();
			$("input[name=reply]").change(function(){
				var $reply = $(".form-item.reply");
				parseInt(this.value) ? $reply.show() : $reply.hide();
			}).filter(":checked").change();
		});
		//导航高亮
		highlight_subnav('{:U('Team/index')}');
	</script>
</block>

</body>
</html>













